home *** CD-ROM | disk | FTP | other *** search
- 1 !# RE-SAVE "CONFIG"
- 2 !
- 3 !# N O T E
- 4 !# This configuration file allows you to customize certain parameters of
- 5 !# BPLUS. Invalid values can render BPLUS practically unusable, until
- 6 !# corrected. Before modifying any values, make sure you understand the
- 7 !# effects of your changes.
- 8 !
- 9 !# The HTBasic for Windows SETUP program makes no attempt to preserve any
- 10 !# modifications to any existing CONFIG file(s).
- 11 !
- 12 !# This BPLUS CONFIG file MUST be SAVED/RE-SAVED into a regular DOS type
- 13 !# file. If you use any editor other than HTBasic for Windows, save the
- 14 !# file as standard ASCII text. In this case, the line numbers through
- 15 !# initial exclamation point (e.g., "120 !") are optional. If using the
- 16 !# HTBasic for Windows editor, use one of the following methods to save
- 17 !# this file:
- 18 !
- 19 !# a. RE-SAVE "CONFIG" into copy of original CONFIG (preserves file type).
- 20 !#
- 21 !# b. CONFIGURE SAVE ASCII OFF
- 22 !# SAVE "CONFIG"
- 23 !#
- 24 !# c. CREATE "CONFIG",1
- 25 !# RE-SAVE "CONFIG"
- 26 !
- 27 !# BPLUS searches for CONFIG (after LOAD BIN "BPLUS" or SCRATCH A) in the
- 28 !# following locations (listed in search order):
- 29 !# CONFIG in current MSI
- 30 !# $HOME/CONFIG ($HOME is typically your login directory)
- 31 !# install location on current msus, typically c:\Program Files\HTBWIN\CONFIG
- 33 !# if current msus <> install msus, repeat above two for install msus
- 34 !
- 35 !
- 36 !@ system MSI
- 37 !# The directory and (optional) msvs of the location BPLUS first looks for
- 38 !# ancilliary files (widgets, bitmaps, help, etc.), e.g., C:/BPLUS
- 39 !# C:/BPLUS
- 40 !
- 41 !@ system font
- 42 !# The default is that used by HTBasic for Windows; otherwise, specify
- 43 !# request in <width>X<height> format, e.g. 8X16
- 44 ! default
- 45 !
- 46 !@ SLIDER widget
- 47 ! initial_delay 500 # Delay before auto-repeat starts (milliSec.)
- 48 ! repeat_delay 100 # Delay between auto_repeat scrolls (milliSec.)
- 49 !
- 50 !@ context help
- 51 ! provide_defaults true # Default widget's help topic is widget's name
- 52 ! f1_is_help true # key f1 provides help for widget with focus
- 53 ! rht_ms_btn_is_help true # right mouse button provides widget help
- 54 ! help_in_popup true # help topics will be displayed in popup window
- 55 !
- 56 !@ Screen Builder widget order
- 57 !# This section defines which widgets are loaded into the Screen Builder
- 58 !# and the order in which they are displayed. The default order matches
- 59 !# that in previous versions of BPLUS; however, a more convenient order
- 60 !# might be alphabetical.
- 61 ! PANEL
- 62 ! PULLDOWN MENU
- 63 ! CASCADE MENU
- 64 ! MENU BUTTON
- 65 ! MENU TOGGLE
- 66 ! MENU SEPARATOR
- 67 ! SEPARATOR
- 68 ! PUSHBUTTON
- 69 ! RADIOBUTTON
- 70 ! TOGGLEBUTTON
- 71 ! SCROLLBAR
- 72 ! LABEL
- 73 ! STRING
- 74 ! NUMBER
- 75 ! KEYPAD
- 76 ! LIST
- 77 ! COMBO
- 78 ! BAR
- 79 ! BARS
- 80 ! FILE
- 81 ! LIMITS
- 82 ! METER
- 83 ! PRINTER
- 84 ! SLIDER
- 85 ! STRIPCHART
- 86 ! XY GRAPH
- 87 ! BITMAP
- 88 ! HPGL VIEW
- 89 ! CLOCK
- 90 !
- 91 !@ logical pens
- 92 !# This logical pen table specifies which physical pen to use for a
- 93 !# specified logical pen. The actual color of the physical pen is
- 94 !# specified in the physical pen table. The contents of this is the
- 95 !# same as previous versions of BPLUS for compatibility; however,
- 96 !# only the following logical pens are used in HTBasic for Windows:
- 97 !# AppBackground, AppTbarForeground, DialogBoxBackground,
- 98 !# DialogBoxForeground, GraphBackground, GraphTrace1, GraphTrace2,
- 99 !# GraphTrace3, GraphTrace4, GraphTrace5, GraphTrace6, GraphTrace7,
- 100 !# GraphTrace8, GrayForeground, ListBoxBackground, ListBoxForeground,
- 101 !# ScrollBars, WidgetGreen, WidgetRed, WidgetWhite, WidgetYellow,
- 102 !# WindowBackground, WindowForeground, WindowFrame.
- 103 !#
- 104 !# physical pen for system containing ...
- 105 !# pen pen name 2 pens 16 pens 64 pens 256 pens
- 106 ! 0 ActiveBorder 0 14 14 30
- 107 ! 1 ActiveTitleBar 1 14 14 30
- 108 ! 2 ActiveTBarForeground 0 1 1 17
- 109 ! 3 AppBackground 0 9 9 25
- 110 ! 4 AppBorder 0 14 14 30
- 111 ! 5 AppTitleBar 0 14 14 30
- 112 ! 6 AppTBarForeground 1 1 1 17
- 113 ! 7 ButtonBackground 0 11 11 27
- 114 ! 8 ButtonForeground 1 0 0 16
- 115 ! 9 DialogBoxBackground 0 8 8 24
- 116 ! 10 DialogBoxBorder 1 14 14 30
- 117 ! 11 DialogBoxForeground 1 1 1 17
- 118 ! 12 DialogBoxTitleBar 0 13 13 29
- 119 ! 13 DialogBoxTBarForeground 1 1 1 17
- 120 ! 14 ErrorTitleBar 0 2 2 18
- 121 ! 15 GrayForeground 0 15 15 31
- 122 ! 16 Highlight 1 13 13 29
- 123 ! 17 HighlightForeground 0 3 3 19
- 124 ! 18 HyperText 1 6 6 22
- 125 ! 19 InactiveBorder 0 11 11 27
- 126 ! 20 InactiveTitleBar 0 11 11 27
- 127 ! 21 InactiveTBarForeground 1 0 0 16
- 128 ! 22 ITGDisplayTraceBlue 1 5 5 21
- 129 ! 23 ITGDIsplayTraceGreen 1 4 4 20
- 130 ! 24 ITGPushButton 0 12 12 28
- 131 ! 25 ITGResetButton 0 10 10 26
- 132 ! 26 ListBoxForeground 1 0 0 16
- 133 ! 27 ListBoxBackground 0 15 15 31
- 134 ! 28 MenuBar 0 11 11 27
- 135 ! 29 MenuForeground 1 0 0 16
- 136 ! 30 PopupWindowBackground 0 8 8 24
- 137 ! 31 PopupWindowFrame 1 0 0 16
- 138 ! 32 PopupWindowForeground 1 1 1 17
- 139 ! 33 ScrollBars 0 11 11 27
- 140 ! 34 WindowBackground 0 1 1 17
- 141 ! 35 WindowFrame 1 0 0 16
- 142 ! 36 WindowForeground 1 0 0 16
- 143 ! 37 Workspace 0 15 15 31
- 144 ! 38 WorkspaceBorder 0 14 14 30
- 145 ! 39 WorkspaceTitleBar 0 14 14 30
- 146 ! 40 WorkspaceTBarForeground 1 0 0 16
- 147 ! 41 WidgetGreen 1 4 4 20
- 148 ! 42 WidgetYellow 1 3 3 19
- 149 ! 43 WidgetRed 1 2 2 18
- 150 ! 44 WidgetWhite 1 1 1 17
- 151 ! 45 GraphBackground 0 13 13 29
- 152 ! 46 GraphTrace1 1 3 3 19
- 153 ! 47 GraphTrace2 1 5 5 21
- 154 ! 48 GraphTrace3 1 7 7 23
- 155 ! 49 GraphTrace4 1 4 4 20
- 156 ! 50 GraphTrace5 1 2 2 18
- 157 ! 51 GraphTrace6 1 14 14 30
- 158 ! 52 GraphTrace7 1 11 11 27
- 159 ! 53 GraphTrace8 1 1 1 17
- 160 ! 54 RMBBackground 0 0 0 0
- 161 ! 55 AppBackgroundCmp 1 6 54 230
- 162 ! 56 WindowBackgroundCmp 1 14 62 238
- 163 ! 57 PopupBackgroundCmp 1 7 55 231
- 164 ! 58 DialogBoxBackgroundCmp 1 7 55 231
- 165 !
- 166 !@ settable pens
- 167 !# This section specifies which pens BPLUS is allowed to set. The
- 168 !# default is all pens. You should minimally allow the pens referenced
- 169 !# by the above logical pen table (those pens are listed first in the
- 170 !# following lists). Some widgets require more colors than those defined
- 171 !# in the logical pen table: those additional colors will be allocated
- 172 !# from the list of settable pens. However, a logical pen's color will
- 173 !# never be changed. If a widget wants more colors than are settable, it
- 174 !# will use existing colors on a closest match basis.
- 175 !#
- 176 ! 16_pen_system 0-15
- 177 ! 64_pen_system 0-15, 54, 55, 62, 16-63
- 178 ! 256_pen_system 16-31, 230, 231, 238, 0-15, 32-255
- 179 !
- 180 !@ physical pens
- 181 !# This physical pen table specifies the color map value set for a
- 182 !# specified physical pen. If an entry for a required pen isn't
- 183 !# currently provided in the table (e.g., pens 32-47), insert as
- 184 !# required. The actual display's color map is only altered for the pens
- 185 !# that are referenced by a logical pen from the above logical pen table
- 186 !# and are settable as specified above for the current graphics system
- 187 !# (2-pen, 16-pen, 64-pen, or 256-pen).
- 188 !#
- 189 !# PEN COLOR RED GREEN BLUE
- 190 ! 0 black 0 0 0
- 191 ! 1 white 255 255 255
- 192 ! 2 red 255 0 0
- 193 ! 3 yellow 255 255 0
- 194 ! 4 green 0 255 0
- 195 ! 5 cyan 0 255 255
- 196 ! 6 blue 0 0 255
- 197 ! 7 magenta 255 0 255
- 198 ! 8 dialog gray 162 156 146
- 199 ! 9 parchment white 220 211 184
- 200 ! 10 forest green 70 180 70
- 201 ! 11 inactive gray 176 174 169
- 202 ! 12 evening gold 150 110 75
- 203 ! 13 french gray 105 95 80
- 204 ! 14 lavender 119 123 200
- 205 ! 15 beige gray 148 139 123
- 206 !
- 207 ! 16 black 0 0 0
- 208 ! 17 white 255 255 255
- 209 ! 18 red 255 0 0
- 210 ! 19 yellow 255 255 0
- 211 ! 20 green 0 255 0
- 212 ! 21 cyan 0 255 255
- 213 ! 22 blue 0 0 255
- 214 ! 23 magenta 255 0 255
- 215 ! 24 dialog gray 162 156 146
- 216 ! 25 parchment white 220 211 184
- 217 ! 26 forest green 70 180 70
- 218 ! 27 inactive gray 176 174 169
- 219 ! 28 evening gold 150 110 75
- 220 ! 29 french gray 105 95 80
- 221 ! 30 lavender 119 123 200
- 222 ! 31 beige gray 148 139 123
- 223 !
- 224 ! 48 black 0 0 0
- 225 ! 49 white 255 255 255
- 226 ! 50 red 255 0 0
- 227 ! 51 yellow 255 255 0
- 228 ! 52 green 0 255 0
- 229 ! 53 cyan 0 255 255
- 230 ! 54 blue 0 0 255
- 231 ! 55 magenta 255 0 255
- 232 ! 56 dialog gray 162 156 146
- 233 ! 57 parchment white 220 211 184
- 234 ! 58 forest green 70 180 70
- 235 ! 59 inactive gray 176 174 169
- 236 ! 60 evening gold 150 110 75
- 237 ! 61 french gray 105 95 80
- 238 ! 62 lavender 119 123 200
- 239 ! 63 beige gray 148 139 123
- 240 !
- 241 ! 240 black 0 0 0
- 242 ! 241 white 255 255 255
- 243 ! 242 red 255 0 0
- 244 ! 243 yellow 255 255 0
- 245 ! 244 green 0 255 0
- 246 ! 245 cyan 0 255 255
- 247 ! 246 blue 0 0 255
- 248 ! 247 magenta 255 0 255
- 249 ! 248 dialog gray 162 156 146
- 250 ! 249 parchment white 220 211 184
- 251 ! 250 forest green 70 180 70
- 252 ! 251 inactive gray 176 174 169
- 253 ! 252 evening gold 150 110 75
- 254 ! 253 french gray 105 95 80
- 255 ! 254 lavender 119 123 200
- 256 ! 255 beige gray 148 139 123
-